import { pubRequire } from '@utils/public'
const baseUrl = '/openid-user-info'
/* 列表 */
export function openidUserInfoList(obj, callbBack, errBack) {
  return pubRequire('get', `${baseUrl}`, obj, callbBack, errBack)
}
/* 查询openid是否存在 */
export function verifyOpenId({ openIdA, openIdB }, callbBack, errBack) {
  return pubRequire(
    'get',
    `${baseUrl}/check-ab/${openIdA}/${openIdB}`,
    '',
    callbBack,
    errBack
  )
}
